package com.sugon.modules.mold.model.vo;

import com.sugon.entity.ModuleMaintainPlanItemEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author ： YuXD
 * @description： 模具维护计划完成结果参数
 * @date ： 2020-11-25 20:12
 * @version: 1.0
 */
@Data
public class MoldMaintenancePlanItemResultParam implements Serializable {

    @NotBlank(message = "维护计划项必选")
    private String id;

    @NotNull(message = "维护前检查结果必填")
    private Integer bmCheckResult;

    @NotNull(message = "维护后确认结果必填")
    private Integer amConfirmResult;

    private String remark;

    /**
     * 执行人员ID,程序回填
     */
    private String executor;

    /**
     * 模具定期维护计划项,程序回填
     */
    private ModuleMaintainPlanItemEntity moduleMaintainPlanItem;

}
